#include "dialog.h"
#include "form.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Dialog login;
    Form w;
    if (login.exec() == QDialog::Accepted)
    {
       w.show();
    }

    return a.exec();
}
